package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Xiayh
 * @since 2024-06-17
 */
@Getter
@Setter
@TableName("goods_attribute_category")
@ApiModel(value = "GoodsAttributeCategory对象", description = "")
public class GoodsAttributeCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分类名字")
    private String name;

    @ApiModelProperty("1开启; 0关闭")
    private Byte enabled;
}
